package net.wangds.web.entrypoint;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 分页查询表单.
 */
@ApiModel(value="分页查询表单", description = "查询记录集中的一部分，分页查询.", parent = FilterKeyWordsForm.class)
public class PagingForm extends FilterKeyWordsForm {

    /**
     * 从1开始的页码.
     */
    @ApiModelProperty(value = "列表的页码， 首页为页码为\"1\".", required = true)
    private int pageIndexB1;

    /**
     * 页面大小.
     */
    @ApiModelProperty(value = "页面大小，即每页最多记录数.", required = true)
    private int pageSize;

    public int getPageIndexB1() {
        return pageIndexB1;
    }

    public void setPageIndexB1(int pageIndexB1) {
        this.pageIndexB1 = pageIndexB1;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
